home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Erotic Games: Memory
/
Erotic Games: Memory.iso
/
mac
/
air_installers
/
AdobeAIR.exe
/
setup.swf
/
scripts
/
_ToolTipStyle.as
< prev
next >
Wrap
Text File
|
2009-02-12
|
1KB
|
47 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.skins.halo.ToolTipBorder;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _ToolTipStyle
{
public function _ToolTipStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("ToolTip");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("ToolTip",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.paddingTop = 2;
this.borderColor = 9542041;
this.paddingLeft = 4;
this.cornerRadius = 2;
this.paddingRight = 4;
this.shadowColor = 0;
this.fontSize = 9;
this.borderSkin = ToolTipBorder;
this.backgroundAlpha = 0.95;
this.paddingBottom = 2;
this.borderStyle = "toolTip";
this.backgroundColor = 16777164;
};
}
}
}
}